package batch.process.cdi.bean;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

public class CDIBean implements Serializable {

	private static final long serialVersionUID = 1L;
	
	private Date date;
	private BigDecimal value;
	
	public CDIBean() {
		super();
	}
			
	public CDIBean(Date date, BigDecimal value) {
		super();
		this.date = date;
		this.value = value;
	}

	public Date getDate() {
		return date;
	}
	public void setDate(Date date) {
		this.date = date;
	}
	public BigDecimal getValue() {
		return value;
	}
	public void setValue(BigDecimal value) {
		this.value = value;
	}

	@Override
	public String toString() {		
		return ("Data: " + this.getDate() + "\n" + "Taxa CDI: " + this.getValue() + "\n");
	}
	
	

}
